package com.geralt.im.commands.impl;

import java.awt.Point;

import javax.swing.JFrame;

import com.geralt.im.command.Command;
import com.geralt.im.entrance.Entrance;
import com.geralt.im.model.Message;

public class PowCommand extends Command {

	@Override
	public void excute() {
		Message msg = (Message) parameter.get("MESSAGE");
		String mString = "("+msg.getSendTime().toLocaleString()+")"+msg.getFrom()+" pow you!";
		setObject(mString);
		notifyObjservers();
		
	}
	
}
